package com.jintoufs.service.account;

import com.jintoufs.dao.QueryFilters;
import com.jintoufs.domain.account.Withdraw;

import java.util.List;
import java.util.Map;

public interface WithdrawService {
    int insert(Withdraw withdraw);

    int update(Withdraw withdraw);


    Withdraw selectById(String id);

    /**
     * 根据条件查询
     *
     * @param filters 属性列表，过滤存在的属性值
     */
    List<Map<String,Object>> getByFilter(QueryFilters filters);


    List<Map<String,Object>> getByParams(Map<String,Object> param);
}
